home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: Can C++ run DOS .exe files?
- Date: 3 Mar 1996 11:34:05 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4hc03d$131@news1.usa.pipeline.com>
- References: <4hakim$mn3@wally.uofport.edu>
- NNTP-Posting-Host: pipe9.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 02, 1996 15:11:18 in article <Can C++ run DOS .exe files?>,
- 'pgeorge@uofport.edu (Paul George)' wrote:
-
-
- >I'm involved in a project which requires C++ to call a DOS executable
- >file, and then return back to the C++ program upon finishing?
- >
- >I have looked in several C and C++ books, but I have yet been able to
- >find an answer to this question. At the very least, I would like to find
-
- >a C/C++ program which can shell to DOS?
- >
- This is not a language issue, as it is dependent on the OS. Many
- compiler systems, however, do provide spawn, exec, and system
- functions that will do the trick. Search for spawn in your online
- docs.
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-